package com.oocl.scan.utils;

public class StringUtil {

  public static boolean isEmpty(String str) {
    return str == null || str.length() == 0;
  }

  public static boolean isNotEmpty(String str) {
    return !isEmpty(str);
  }

  public static String removeDoubleQuote(String str) {
    return str.replace("\"", "");
  }

  public static boolean isIncludeSubStr(String originStr, String subStr) {
    return isNotEmpty(originStr) && originStr.contains(subStr);
  }
}
